using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class ToolTipTrigger : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
    public string head;
    public string connt;
    public void OnPointerEnter(PointerEventData eventData)
    {
      
        ToolTipSystem.instance.setString(head, connt);
        ToolTipSystem.show();
    }

    public void OnPointerExit(PointerEventData eventData)
    {
        ToolTipSystem.Hide();
    }
}
